﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Nirvana
{
    /// <summary>
    /// 网格抽象类：用于定义各种格子类型(走路格，障碍格，安全区格。。。)
    /// </summary>
    public abstract class AbstractSceneCell
    {
        /// <summary>
        /// 左上角高度
        /// </summary>
        [SerializeField]
        [Tooltip("The height of left top corner.")]
        private float heightLT;

        [SerializeField]
        [Tooltip("The height of right top corner.")]
        private float heightRT;

        [Tooltip("The height of left bottom corner.")]
        [SerializeField]
        private float heightLB;

        [Tooltip("The height of right bottom corner.")]
        [SerializeField]
        private float heightRB;

        public float HeightLT { get { return this.heightLT; } set { this.heightLT = value; } }
        public float HeightRT { get { return this.heightRT; } set { this.heightRT = value; } }
        public float HeightLB { get { return this.heightLB; } set { this.heightLB = value; } }
        public float HeightRB { get { return this.heightRB; } set { this.heightRB = value; } }


    }
}

